<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/DMN/20151101/dmn11.xsd" id="definitions" name="camunda" namespace="http://camunda.org/schema/1.0/dmn">
    <decision id="invoice-assign-approver" name="Assign Approver">
        <decisionTable id="decisionTable" hitPolicy="RULE ORDER">
            <input id="clause1" label="Invoice Amount">
                <inputExpression id="inputExpression1" typeRef="double">
                    <text>amount</text>
                </inputExpression>
            </input>
            <input id="clause2" label="Invoice Category">
                <inputExpression id="inputExpression2" typeRef="string">
                    <text>invoiceCategory</text>
                </inputExpression>
            </input>
            <output id="clause3" label="Approver Group" name="result" typeRef="string"/>
            <rule id="DecisionRule_1of5a87">
                <inputEntry id="LiteralExpression_0yrqmtg">
                    <text><![CDATA[<= 500]]></text>
                </inputEntry>
                <inputEntry>
                    <text/>
                </inputEntry>
                <outputEntry id="LiteralExpression_046antl">
                    <text><![CDATA["accounting"]]></text>
                </outputEntry>
            </rule>
            <rule id="DecisionRule_1ak4z14">
                <inputEntry id="LiteralExpression_0qmsef6">
                    <text><![CDATA[<= 800]]></text>
                </inputEntry>
                <inputEntry id="LiteralExpression_13rxf3l">
                    <text><![CDATA["Travel Expenses"]]></text>
                </inputEntry>
                <outputEntry id="LiteralExpression_05xxvip">
                    <text><![CDATA["sales"]]></text>
                </outputEntry>
            </rule>
            <rule id="DecisionRule_0cuxolz">
                <inputEntry id="LiteralExpression_05lyjk7">
                    <text><![CDATA[> 500]]></text>
                </inputEntry>
                <inputEntry>
                    <text/>
                </inputEntry>
                <outputEntry id="LiteralExpression_1bq8m03">
                    <text><![CDATA["management"]]></text>
                </outputEntry>
            </rule>
        </decisionTable>
    </decision>
</definitions>
